import Vue from "vue";
import vuex from "vuex";
import user from "./moudles/user";
import getters from "./getters";
// import persistence from "vuex-uniapp-persistence";
Vue.use(vuex)

const store = new vuex.Store({
    state: {
        
    },
    // mutations:{},
    // actions:{},
    //使用插件实现数据持有化
    // plugins: [persistence()],
    getters,
    modules: {
        user,
    }
})

export default store